package nj.yb.entity.request;

import nj.yb.entity.message.ChatMessage;

public class ChatRequest {
    private String type = RequestType.CHAT;
    private ChatMessage chatMessage;

    public ChatRequest(ChatMessage chatMessage) {
        this.chatMessage = chatMessage;
    }

    public String getType() {
        return type;
    }

    public ChatMessage getChatMessage() {
        return chatMessage;
    }

    public void setChatMessage(ChatMessage chatMessage) {
        this.chatMessage = chatMessage;
    }
}
